package com.rw.test;

import java.util.ArrayList;
import java.util.Scanner;

public class Shop {

    ArrayList<Hero> heroArrayList = Game.startHero();

    public void buy(Player player) {
        Scanner scanner = new Scanner(System.in);
        int index = Tool.numGet(heroArrayList.size());
        player.handCard.add(heroArrayList.get(index));
        heroArrayList.remove(index);
    }
}
